package com.xlh.dto.courseTest.experiment;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * @author sy
 * 章节信息统计
 */
@Data
@Accessors(chain = true)
@ApiModel("实验章节信息统计")
public class ExperimentChapterStatisticsDTO {

    /**
     * 实验课程总时长
     */
    @ApiModelProperty("实验时长统计")
    private ExperimentChapterStatisticsTimeDTO timeDtO;

    /**
     * 实验报告分数
     */
    @ApiModelProperty("报告信息统计")
    private ExperimentChapterStatisticsReportDTO reportDto;

    /**
     * 实验判定检测情况
     */
    @ApiModelProperty("实验判定检测情况")
    private ExperimentChapterStatisticsPassDTO decideDto;


    public static ExperimentChapterStatisticsDTO init(){

        ExperimentChapterStatisticsDTO data = new ExperimentChapterStatisticsDTO();
        ExperimentChapterStatisticsTimeDTO timeDtO = new ExperimentChapterStatisticsTimeDTO();
        ExperimentChapterStatisticsReportDTO reportDto = new ExperimentChapterStatisticsReportDTO();
        ExperimentChapterStatisticsPassDTO decideDto = new ExperimentChapterStatisticsPassDTO();

        data.setTimeDtO(timeDtO);
        data.setReportDto(reportDto);
        data.setDecideDto(decideDto);

        return data;
    }








}
